package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysAssetsVehicle;

/**
 * 车辆Mapper接口
 * 
 * @author ruoyi
 * @date 2020-07-07
 */
public interface SysAssetsVehicleMapper 
{
    /**
     * 查询车辆
     * 
     * @param id 车辆ID
     * @return 车辆
     */
    public SysAssetsVehicle selectSysAssetsVehicleById(Long id);
    public SysAssetsVehicle selectSysAssetsVehicleByPlateNo(String carNo);
    public List<SysAssetsVehicle> selectSysAssetsVehicleByUid(String uid);

    /**
     * 查询车辆列表
     * 
     * @param sysAssetsVehicle 车辆
     * @return 车辆集合
     */
    public List<SysAssetsVehicle> selectSysAssetsVehicleList(SysAssetsVehicle sysAssetsVehicle);

    /**
     * 新增车辆
     * 
     * @param sysAssetsVehicle 车辆
     * @return 结果
     */
    public int insertSysAssetsVehicle(SysAssetsVehicle sysAssetsVehicle);

    /**
     * 修改车辆
     * 
     * @param sysAssetsVehicle 车辆
     * @return 结果
     */
    public int updateSysAssetsVehicle(SysAssetsVehicle sysAssetsVehicle);

    /**
     * 删除车辆
     * 
     * @param id 车辆ID
     * @return 结果
     */
    public int deleteSysAssetsVehicleById(Long id);

    /**
     * 批量删除车辆
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysAssetsVehicleByIds(String[] ids);
}
